Telegram Group & Telegram Channel
20. Program to Create Multiplication Table.

import java.util.Scanner;

class MultiplicationTable
{

public static void main(String args[])
{

int n, c;
System.out
.println("Enter an integer to print it's multiplication table");

Scanner in = new Scanner(System.in);
n = in.nextInt();
System.out.println("Multiplication table of " + n + " is :-");

for (c = 1; c <= 10; c++)
{
System.out.println(n + "*" + c + " = " + (n * c));
}

}
}

@Cpp_Codings



tg-me.com/java_codings/29
Create:
Last Update:

20. Program to Create Multiplication Table.

import java.util.Scanner;

class MultiplicationTable
{

public static void main(String args[])
{

int n, c;
System.out
.println("Enter an integer to print it's multiplication table");

Scanner in = new Scanner(System.in);
n = in.nextInt();
System.out.println("Multiplication table of " + n + " is :-");

for (c = 1; c <= 10; c++)
{
System.out.println(n + "*" + c + " = " + (n * c));
}

}
}

@Cpp_Codings

BY Advance Java πŸ‘¨β€πŸ’»


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_codings/29

View MORE
Open in Telegram


Advance Java ‍ Telegram | DID YOU KNOW?

Date: |

NEWS: Telegram supports Facetime video calls NOW!

Secure video calling is in high demand. As an alternative to Zoom, many people are using end-to-end encrypted apps such as WhatsApp, FaceTime or Signal to speak to friends and family face-to-face since coronavirus lockdowns started to take place across the world. There’s another optionβ€”secure communications app Telegram just added video calling to its feature set, available on both iOS and Android. The new feature is also super secureβ€”like Signal and WhatsApp and unlike Zoom (yet), video calls will be end-to-end encrypted.

A project of our size needs at least a few hundred million dollars per year to keep going,” Mr. Durov wrote in his public channel on Telegram late last year. β€œWhile doing that, we will remain independent and stay true to our values, redefining how a tech company should operate.

Advance Java ‍ from id


Telegram Advance Java πŸ‘¨β€πŸ’»
FROM USA